package cn.itcast.domain.system;
/*
 * -------------------------------------------------------
 * Copyright (c) 2020, kachu
 * All rights reserved.
 * FileName：
 * Description：描述
 * History：V1.0
 * 2020/9/30 21:22  kachu  Desc
 * -------------------------------------------------------
 */

import lombok.Data;

/**
 * @author kachu
 * @version v1.0
 */
public class StateCode {

    /**
     * 主键
     */
    private String id;

    /**
     * 类型
     */
    private String stype;

    /**
     * 状态码
     */
    private Integer code ;

    /**
     * 状态值
     */
    private String value;


    public StateCode() {
    }

    public StateCode(String id, String stype, Integer code, String value) {
        this.id = id;
        this.stype = stype;
        this.code = code;
        this.value = value;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return stype
     */
    public String getStype() {
        return stype;
    }

    /**
     * 设置
     * @param stype
     */
    public void setStype(String stype) {
        this.stype = stype;
    }

    /**
     * 获取
     * @return code
     */
    public Integer getCode() {
        return code;
    }

    /**
     * 设置
     * @param code
     */
    public void setCode(Integer code) {
        this.code = code;
    }

    /**
     * 获取
     * @return value
     */
    public String getValue() {
        return value;
    }

    /**
     * 设置
     * @param value
     */
    public void setValue(String value) {
        this.value = value;
    }

    public String toString() {
        return "StateCode{id = " + id + ", stype = " + stype + ", code = " + code + ", value = " + value + "}";
    }
}
